package com.ling.pl.autoproject.definition.logic.model;

import com.ling.pl.core.commons.annotation.ModelProperty;

import javax.persistence.Column;

/**
 * 实体业务定义,需要开发人员实现,可以绑定到实体行为
 */
public class EntityLogic {
    //实体行为信息
    @Column(name = "ENTITY_ID", length = 36)
    @ModelProperty(comment = "实体id")
    String entityId;

    @Column(name = "NAME", length = 150)
    @ModelProperty(comment = "中文名称")
    String name;

    @Column(name = "CODE", length = 150)
    @ModelProperty(comment = "方法名称", des = "命名需要符合java方法名称规范和事物命名规范")
    String code;

    //系统开发
    @Column(name = "REQUIREMENT_ID", length = 36)
    @ModelProperty(comment = "需求id")
    String requirementId;

    @Column(name = "TODO", length = 500)
    @ModelProperty(comment = "todo")
    String todo;

}
